﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.Admin.Page_System
{
    public partial class CreateStaticPages : Evan.WebUI.ManagerPage
    {
        protected List<string> Urls = new List<string>();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int.TryParse(Evan.Common.CommFun.GetQueryString("classid"), out ClassId);
                GetAllUrls();
            }
        }

        public void GetAllUrls()
        {
            if (ClassId > 0)
            {
                Urls = new Evan.Template.Base().GetUrlList(ClassId);
            }
            else
            {
                Urls = new Evan.Template.Base().GetUrlList();
            }
        }

    }
}